<form class="form-horizontal" method="post" name="password_global_security" action="jsp/admin/user/DoModifyDefaultUserSecurityParameterValues.jsp#footer">
        <fieldset>
            <legend>#i18n{portal.users.manage_advanced_parameters.securityParameters}</legend>
            <div class="control-group">
            	<label class="control-label" for="banned_domain_names">#i18n{portal.users.manage_advanced_parameters.labelBannedDomainNames} : </label>
            	<div class="controls">
            		<textarea rows="4" cols="20" name="banned_domain_names" id="banned_domain_names" >${banned_domain_names}</textarea>
            	</div>
            </div>
            <div class="control-group">
                <label class="control-label" for="password_minimum_length">#i18n{portal.users.manage_advanced_parameters.labelMinimumPasswordLength} * : </label>
                <div class="controls">
                    <input type="text" name="password_minimum_length" value="${password_minimum_length!}" />
                </div>
            </div>
            <#if use_advanced_security_parameters>
          	<div class="control-group">
                <label class="control-label" for="">#i18n{portal.users.manage_advanced_parameters.labelPasswordFormat} :</label>
                <div class="controls">
					<label class="checkbox inline" for="password_format_upper_lower_case">
                        <input type="checkbox" name="password_format_upper_lower_case" value="true" <#if password_format_upper_lower_case?? && password_format_upper_lower_case>checked="checked"</#if> />#i18n{portal.users.manage_advanced_parameters.labelPasswordFormatUpperLowerCase}
					</label>
					<label class="checkbox inline" for="password_format_numero">
                        <input type="checkbox" name="password_format_numero" value="true" <#if password_format_numero?? && password_format_numero>checked="checked"</#if> />#i18n{portal.users.manage_advanced_parameters.labelPasswordFormatNumero}
					</label>
					<label class="checkbox inline" for="password_format_special_characters">
                        <input type="checkbox" name="password_format_special_characters" value="true" <#if password_format_special_characters?? && password_format_special_characters>checked="checked"</#if> />#i18n{portal.users.manage_advanced_parameters.labelPasswordFormatSpecialCharacters}
					</label>
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="password_duration">#i18n{portal.users.manage_advanced_parameters.labelPasswordDuration} : </label>
                <div class="controls">
                    <input type="text" name="password_duration" value="${password_duration!}" />
                </div>
            </div>
			<div class="control-group">
				<label class="control-label" for="">#i18n{portal.users.manage_advanced_parameters.labelNotifyUserPasswordExpired} :</label>
				<div class="controls">
					<label class="checkbox" for="notify_user_password_expired">
						<input type="checkbox" name="notify_user_password_expired" value="true" <#if notify_user_password_expired?? && notify_user_password_expired>checked="checked"</#if> />
						#i18n{portal.users.manage_advanced_parameters.labelNotifyUserPasswordExpired}
					</label>
				</div>
			</div>
            </#if>
            <div class="control-group">
                <label class="control-label" for="force_change_password_reinit">#i18n{portal.users.manage_advanced_parameters.labelForcePasswordAfterReset} : </label>
                <div class="controls">
                    <input type="checkbox" name="force_change_password_reinit" value="true" <#if force_change_password_reinit>checked="checked"</#if> />
                </div>
            </div>
            <#if use_advanced_security_parameters>
            <div class="control-group">
                <label class="control-label" for="password_history_size">#i18n{portal.users.manage_advanced_parameters.labelPasswordHistorySize} : </label>
                <div class="controls">
                    <input type="text" name="password_history_size" value="${password_history_size!}" />
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="maximum_number_password_change">#i18n{portal.users.manage_advanced_parameters.labelMaxNumberPasswordChange} : </label>
                <div class="controls">
                    <input type="text" name="maximum_number_password_change" value="${maximum_number_password_change!}" />
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="tsw_size_password_change">#i18n{portal.users.manage_advanced_parameters.labelPasswordChangeTSWSize} : </label>
                <div class="controls">
                    <input type="text" name="tsw_size_password_change" value="${tsw_size_password_change!}" />
                </div>
            </div>
            </#if>
            <div class="control-group">
                <label class="control-label" for="access_failures_max">#i18n{portal.users.manage_advanced_parameters.labelAccesFailuresMax} : </label>
                <div class="controls">
                    <input type="text" name="access_failures_max" value="${access_failures_max!}" />
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="access_failures_interval">#i18n{portal.users.manage_advanced_parameters.labelAccesFailuresInterval} : </label>
                <div class="controls">
                    <input type="text" name="access_failures_interval" value="${access_failures_interval!}" />
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="account_life_time">#i18n{portal.users.manage_advanced_parameters.labelAccountLifeTime} : </label>
                <div class="controls">
                    <input type="text" name="account_life_time" value="${account_life_time!}" />
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="time_before_alert_account">#i18n{portal.users.manage_advanced_parameters.labelTimeBeforeAlert} : </label>
                <div class="controls">
                    <input type="text" name="time_before_alert_account" value="${time_before_alert_account!}" />
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="nb_alert_account">#i18n{portal.users.manage_advanced_parameters.labelNbAlert} : </label>
                <div class="controls">
                    <input type="text" name="nb_alert_account" value="${nb_alert_account!}" />
                </div>
            </div>
            <div class="control-group">
                <label class="control-label" for="time_between_alerts_account">#i18n{portal.users.manage_advanced_parameters.labelTimeBetweenAlerts} : </label>
                <div class="controls">
                    <input type="text" name="time_between_alerts_account" value="${time_between_alerts_account!}" />
                </div>
            </div>
            <div class="form-actions">
	            <button class="btn btn-primary btn-small" type="submit" >#i18n{portal.util.labelModify}</button>
            </div>
        </fieldset>
    </form>

    <form class="form-horizontal" method="post" action="jsp/admin/user/ModifyAccountLifeTimeEmails.jsp">
        <fieldset>
            <legend>#i18n{portal.users.accountLifeTime.labelLifeTimeNotifications}</legend>
            <div class="control-group">
                <label class="control-label" for="email_type">#i18n{portal.users.accountLifeTime.labelSelectEmail} :</label>
				<div class="controls">
                <select name="email_type" >
                    <option value="first" selected="selected" >#i18n{portal.users.accountLifeTime.labelFirstEmail}</option>
                    <option value="other" >#i18n{portal.users.accountLifeTime.labelOtherEmail}</option>
                    <option value="expired" >#i18n{portal.users.accountLifeTime.labelAccountDeactivatedEmail}</option>
                    <option value="reactivated" >#i18n{portal.users.accountLifeTime.labelAccountUpdatedEmail}</option>
					<option value="password_expired" >#i18n{portal.users.accountLifeTime.labelPasswordExpired}</option>
                </select>
				</div>
            </div>
            <button class="btn btn-primary btn-small" type="submit" ><i class="icon-envelope icon-white"></i>
			&nbsp;#i18n{portal.users.accountLifeTime.labelEditEmail}</button>
        </fieldset>
    </form>
